package com.project.api.sale.dao;

import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public class ProductDao {
    private int id;
    private String name;
    private String description;
    private double price;
    private String img;
    private String pinleiId;
    private List<PinleiDao> pinlei;

    public List<PinleiDao> getPinlei() {
        return pinlei;
    }

    public void setPinlei(List pinlei) {
        this.pinlei = pinlei;
    }

    public String getPinleiId() {
        return pinleiId;
    }

    public void setPinleiId(String pinleiId) {
        this.pinleiId = pinleiId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getDescription() {
        return description;
    }
}
